package com.lry.basic.netty.protobuf.server;

import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/9/27
 */
public class Account {
    //username pwd
    public static Map<String,String> account = new HashMap<>();

    //username channel
    public static Map<String, ChannelHandlerContext> channelMap = new HashMap<>();

    //channels
    public static List<ChannelHandlerContext> channels = new ArrayList<>();
}
